// 课程
import request from '@/api/request';
// 课程详情
function coursedetail(data) {
  return request({
    url: '/api/course/detail',
    method: 'post',
    data
  })
}
//立即购买
function immately(data) {
  return request({
    url: '/api/course/immately',
    method: 'post',
    data
  })
}
//学习日历
function leesign(data) {
  return request({
    url: '/api/Leesign/leesign',
    method: 'post',
    data
  })
}
//课程记录
function course(data) {
  return request({
    url: '/api/curriculum/course',
    method: 'post',
    data
  })
}
export default {
    coursedetail,
	leesign,
	course,
	immately
}